<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
     <jsp:useBean id="lwhy"
             class="lwhy.User">
             <jsp:setProperty name="lwhy" property="*" />
      </jsp:useBean>    
             
     用户：<jsp:getProperty property="username" name="lwhy" />
     密码：<jsp:getProperty property="password" name="lwhy" />
</body>
</html>